package javacafe.dto.member;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

public class MemberDTO implements Serializable {
/**
 * m_no number(10),
	m_id varchar2(30) unique,
	m_password varchar2(20) not null,
	m_name varchar2(50) not null,
	m_address varchar2(100),
	m_detailaddress varchar2(100),
	m_email varchar2(20) not null,
	m_phone varchar2(10) not null,
	m_intro varchar2(500) not null,
	m_pic varchar2(500),
	m_date date not null,
	m_birth date,
 * 
 */
	
	private int m_no;
	private String m_id;
	private String m_password;
	private String m_name;
	private String m_address;
	private String m_detailaddress;
	private String m_email;
	private String m_phone;
	private String m_intro;
	private String m_pic;
	private Date m_date;
	private String m_birth;
	
	private String auth_name;
	
	public MemberDTO() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	
	public int getM_no() {
		return m_no;
	}
	public void setM_no(int mNo) {
		m_no = mNo;
	}
	public String getM_id() {
		return m_id;
	}
	public void setM_id(String mId) {
		m_id = mId;
	}
	public String getM_password() {
		return m_password;
	}
	public void setM_password(String mPassword) {
		m_password = mPassword;
	}
	public String getM_name() {
		return m_name;
	}
	public void setM_name(String mName) {
		m_name = mName;
	}
	public String getM_address() {
		return m_address;
	}
	public void setM_address(String mAddress) {
		m_address = mAddress;
	}
	public String getM_detailaddress() {
		return m_detailaddress;
	}
	public void setM_detailaddress(String mDetailaddress) {
		m_detailaddress = mDetailaddress;
	}
	public String getM_email() {
		return m_email;
	}
	public void setM_email(String mEmail) {
		m_email = mEmail;
	}
	public String getM_phone() {
		return m_phone;
	}
	public void setM_phone(String mPhone) {
		m_phone = mPhone;
	}
	public String getM_intro() {
		return m_intro;
	}
	public void setM_intro(String mIntro) {
		m_intro = mIntro;
	}
	public String getM_pic() {
		return m_pic;
	}
	public void setM_pic(String mPic) {
		m_pic = mPic;
	}
	public Date getM_date() {
		return m_date;
	}
	public void setM_date(Timestamp mDate) {
		m_date = mDate;
	}	
	public String getM_birth() {
		return m_birth;
	}
	public void setM_birth(String mBirth) {
		m_birth = mBirth;
	}


	public String getAuth_name() {
		return auth_name;
	}
	public void setAuth_name(String authName) {
		auth_name = authName;
	}


	public MemberDTO(int mNo, String mId, String mPassword, String mName,
			String mAddress, String mDetailaddress, String mEmail,
			String mPhone, String mIntro, String mPic, Timestamp mDate,
			String mBirth, String authName) {
		super();
		m_no = mNo;
		m_id = mId;
		m_password = mPassword;
		m_name = mName;
		m_address = mAddress;
		m_detailaddress = mDetailaddress;
		m_email = mEmail;
		m_phone = mPhone;
		m_intro = mIntro;
		m_pic = mPic;
		m_date = mDate;
		m_birth = mBirth;
		auth_name = authName;
	}


	@Override
	public String toString() {
		return "MemberDTO [auth_name=" + auth_name + ", m_address=" + m_address
				+ ", m_birth=" + m_birth + ", m_date=" + m_date
				+ ", m_detailaddress=" + m_detailaddress + ", m_email="
				+ m_email + ", m_id=" + m_id + ", m_intro=" + m_intro
				+ ", m_name=" + m_name + ", m_no=" + m_no + ", m_password="
				+ m_password + ", m_phone=" + m_phone + ", m_pic=" + m_pic
				+ "]";
	}
	
}
